home *** CD-ROM | disk | FTP | other *** search
/ PC Basics 53 / PC Basics Issue 53.iso / Software / Internet / Invboard.exe / PC Basics 53 / Invboard / upload / Skin / s1 / skin_post.php < prev    next >
Encoding:
PHP Script  |  2002-06-12  |  19.6 KB  |  430 lines

  1. <?php
  2.  
  3. class skin_post {
  4.  
  5.  
  6.  
  7. function table_structure() {
  8. global $ibforums;
  9. return <<<EOF
  10. <!--START TABLE-->
  11. <!--NAME FIELDS-->
  12. <!--TOPIC TITLE-->
  13. <!--POLL BOX-->
  14. <!--POST BOX-->
  15. <!--QUOTE BOX-->
  16. <!--POST ICONS-->
  17. <!--UPLOAD FIELD-->
  18. <!--MOD OPTIONS-->
  19. <!--END TABLE-->
  20. EOF;
  21. }
  22.  
  23. function table_top($data) {
  24. global $ibforums;
  25. return <<<EOF
  26.     <script language='Javascript' type='text/javascript'>
  27.         <!--
  28.         function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
  29.             if (posleft != 0) { x = posleft }
  30.             if (postop  != 0) { y = postop  }
  31.         
  32.             if (!scroll) { scroll = 1 }
  33.             if (!resize) { resize = 1 }
  34.         
  35.             if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
  36.               X = (screen.width  - width ) / 2;
  37.               Y = (screen.height - height) / 2;
  38.             }
  39.             if (scroll != 0) { scroll = 1 }
  40.         
  41.             var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
  42.          }
  43.         //-->
  44.     </script>
  45. <table width="{$ibforums->skin['tbl_width']}" align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="{$ibforums->skin['tbl_border']}">
  46.   <tr> 
  47.     <td id='maintitleback' background='{$ibforums->vars['img_url']}/tile_back.gif'> 
  48.        
  49.     </td>
  50.   </tr>
  51.   <tr> 
  52.     <td id='mainbg'> 
  53.       <table width="100%" border="0" cellspacing="1" cellpadding="4">
  54.         <tr> 
  55.           <td id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif' colspan="2">$data</td>
  56.         </tr>
  57. EOF;
  58. }
  59.  
  60. function EndForm($data) {
  61. global $ibforums;
  62. return <<<EOF
  63.         <tr> 
  64.           <td id='mainfoot' align="center" colspan="2"><input type="submit" name="submit" value="$data" tabindex='4' class='forminput'> 
  65.                 <input type="submit" name="preview" value="{$ibforums->lang['button_preview']}" tabindex='5' class='forminput'></td>
  66.         </tr>
  67.       </table>
  68.     </td>
  69.   </tr>
  70.   </form>
  71. </table>
  72. EOF;
  73. }
  74.  
  75. function smilie_table() {
  76. global $ibforums;
  77. return <<<EOF
  78.     <table align="center" cellspacing='1' cellpadding='3' border='0' id='row2' style="border-width:1px; border-color:{$ibforums->skin['tbl_border']}; border-style:solid; width:95%" align='left'>
  79.     <tr>
  80.         <td colspan='{$ibforums->vars['emo_per_row']}' align='center'>{$ibforums->lang['click_smilie']}</td>
  81.     </tr>
  82.     <!--THE SMILIES-->
  83.     <tr>
  84.         <td colspan='{$ibforums->vars['emo_per_row']}' id='row1' align='center'><a href='javascript:emo_pop()'>{$ibforums->lang['all_emoticons']}</a></td>
  85.     </tr>
  86.     </table>
  87. EOF;
  88. }
  89.  
  90. function TopicSummary_bottom() {
  91. global $ibforums;
  92. return <<<EOF
  93.            <!-- Cgi-bot TopicSummaryBottom -->
  94.         <tr>
  95.            <td valign='left' colspan='2' id='titlemedium'><a href="javascript:PopUp('index.{$ibforums->vars['php_ext']}?act=ST&f={$ibforums->input['f']}&t={$ibforums->input['t']}','TopicSummary',700,450,1,1)">{$ibforums->lang['review_topic']}</a></td>
  96.         </tr>
  97.         </table>
  98.       </td>
  99.      </tr>
  100.     </table>
  101.     <!-- Cgi-bot End TopicSummaryBottom -->
  102. EOF;
  103. }
  104.  
  105. function PostIcons() {
  106. global $ibforums;
  107. return <<<EOF
  108.         <tr> 
  109.           <td valign="top" id='row1'>{$ibforums->lang['post_icon']}</td>
  110.           <td valign="top" width="100%" id='row1'>
  111.                   <INPUT type="radio" name="iconid" value="1">  <IMG SRC="{$ibforums->vars['img_url']}/icon1.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="2" >  <IMG SRC="{$ibforums->vars['img_url']}/icon2.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="3" >  <IMG SRC="{$ibforums->vars['img_url']}/icon3.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="4" >  <IMG SRC="{$ibforums->vars['img_url']}/icon4.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="5" >  <IMG SRC="{$ibforums->vars['img_url']}/icon5.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="6" >  <IMG SRC="{$ibforums->vars['img_url']}/icon6.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="7" >  <IMG SRC="{$ibforums->vars['img_url']}/icon7.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <br>
  112.                   <INPUT type="radio" name="iconid" value="8">  <IMG SRC="{$ibforums->vars['img_url']}/icon8.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="9" >  <IMG SRC="{$ibforums->vars['img_url']}/icon9.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="10" >  <IMG SRC="{$ibforums->vars['img_url']}/icon10.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="11" >  <IMG SRC="{$ibforums->vars['img_url']}/icon11.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="12" >  <IMG SRC="{$ibforums->vars['img_url']}/icon12.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="13" >  <IMG SRC="{$ibforums->vars['img_url']}/icon13.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   <INPUT type="radio" name="iconid" value="14" >  <IMG SRC="{$ibforums->vars['img_url']}/icon14.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>   
  113.                   <BR>
  114.                   <INPUT type="radio" name="iconid" value="0" CHECKED>  [ Use None ]
  115.                  </td>
  116.         </tr>
  117. EOF;
  118. }
  119.  
  120. function errors($data) {
  121. global $ibforums;
  122. return <<<EOF
  123.      <table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}' align='center'>
  124.         <tr>
  125.             <td>
  126.                 <table cellpadding='5' cellspacing='1' border='0' width='100%'>
  127.                 <tr>
  128.                 <td id='row1' valign='top' align='left'><b>{$ibforums->lang['errors_found']}</b></font><hr noshade size='1' color='{$ibforums->skin['tbl_border']}'>$data</td>
  129.                 </tr>
  130.                 </table>
  131.             </td>
  132.         </tr>
  133.     </table>
  134.     <br>
  135. EOF;
  136. }
  137.  
  138. function Upload_field($data) {
  139. global $ibforums;
  140. return <<<EOF
  141.         <tr> 
  142.           <td id="subtitle" colspan="2">{$ibforums->lang['upload_title']}</td>
  143.         </tr>
  144.         <tr> 
  145.           <td id='row1'>{$ibforums->lang['upload_text']} $data</td>
  146.           <td id='row1' width="100%"><input class='textinput' type='file' size='30' name='FILE_UPLOAD'></td>
  147.         </tr>
  148. EOF;
  149. }
  150.  
  151. function topictitle_fields($data) {
  152. global $ibforums;
  153. return <<<EOF
  154.         <tr> 
  155.           <td id="subtitle" colspan="2">{$ibforums->lang['tt_topic_settings']}</td>
  156.         </tr>
  157.         <tr> 
  158.           <td id='row1'>{$ibforums->lang['topic_title']}</td>
  159.           <td id='row1' width="100%" valign="top"><input type='text' size='40' maxlength='50' name='TopicTitle' value='{$data[TITLE]}' tabindex='1' class='forminput'></td>
  160.         </tr>
  161.         <tr> 
  162.           <td id='row1'>{$ibforums->lang['topic_desc']}</td>
  163.           <td id='row1' width="100%" valign="top"><input type='text' size='40' maxlength='40' name='TopicDesc' value='{$data[DESC]}' tabindex='2' class='forminput'></td>
  164.         </tr>
  165. EOF;
  166. }
  167.  
  168. function TopicSummary_body($data) {
  169. global $ibforums;
  170. return <<<EOF
  171.              <tr id='postdetails'>
  172.                <td id='row1' align='left' valign='top' width='20%'><b>{$data['author']}</b></td>
  173.                <td id='row1' align='left' valign='top' width='80%'>{$ibforums->lang['posted_on']} {$data['date']}<hr noshade size='1'><span id='postcolor'>{$data['post']}</span></td>
  174.              </tr>
  175. EOF;
  176. }
  177.  
  178. function preview($data) {
  179. global $ibforums;
  180. return <<<EOF
  181.      <table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
  182.         <tr>
  183.             <td>
  184.                 <table cellpadding='5' cellspacing='1' border='0' width='100%'>
  185.                 <tr>
  186.                 <td id='row1' valign='top' align='left'><b>{$ibforums->lang['post_preview']}</b><hr noshade size='1' color='{$ibforums->skin['tbl_border']}'><span id='postcolor'>$data</span></td>
  187.                 </tr>
  188.                 </table>
  189.             </td>
  190.         </tr>
  191.     </table>
  192.     <br>
  193. EOF;
  194. }
  195.  
  196. function TopicSummary_top() {
  197. global $ibforums;
  198. return <<<EOF
  199.     <a name="top">
  200.     <!-- Cgi-bot TopicSummaryTop -->
  201.     <br>
  202.      <table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
  203.        <tr>
  204.          <td>
  205.             <table cellpadding='3' cellspacing='1' border='0' width='100%'>
  206.              <tr>
  207.                <td valign='left' colspan='2' id='titlemedium'>{$ibforums->lang['last_posts']}</td>
  208.              </tr>  
  209.         <!-- Cgi-bot End TopicSummaryTop -->
  210. EOF;
  211. }
  212.  
  213. function nameField_reg() {
  214. global $ibforums;
  215. return <<<EOF
  216. <!-- REG NAME -->
  217. EOF;
  218. }
  219.  
  220. function mod_options($jump) {
  221. global $ibforums;
  222. return <<<EOF
  223.         <tr> 
  224.           <td id="subtitle" colspan="2">{$ibforums->lang['tt_options']}</td>
  225.         </tr>
  226.         <tr> 
  227.           <td id="row1">{$ibforums->lang['mod_options']}</td>
  228.           <td id="row1" width="100%">$jump</td>
  229.         </tr>
  230. EOF;
  231. }
  232.  
  233. function quote_box($data) {
  234. global $ibforums;
  235. return <<<EOF
  236.         <tr> 
  237.           <td id="subtitle" colspan="2">{$ibforums->lang['post_to_quote']}</td>
  238.         </tr>
  239.         <tr> 
  240.           <td id='row1' valign="top">{$ibforums->lang['post_to_quote_txt']}</td>
  241.           <td id='row1' width="100%" valign="top">
  242.                 <textarea cols='60' rows='12' wrap='soft' name='QPost' class='textinput'>{$data['post']}</textarea><input type='hidden' name='QAuthor' value='{$data['author_id']}'><input type='hidden' name='QAuthorN' value='{$data['author_name']}'><input type='hidden' name='QDate'   value='{$data['post_date']}'></td>
  243.         </tr>
  244. EOF;
  245. }
  246.  
  247. function postbox_buttons($data) {
  248. global $ibforums;
  249. return <<<EOF
  250. <script language="javascript1.2">
  251. <!--
  252.  
  253.     var MessageMax  = "{$ibforums->lang['the_max_length']}";
  254.     var Override    = "{$ibforums->lang['override']}";
  255. function emo_pop()
  256. {
  257.     
  258.   window.open('index.{$ibforums->vars['php_ext']}?act=legends&CODE=emoticons&s={$ibforums->session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes'); 
  259.      
  260. }    
  261. function CheckLength() {
  262.     MessageLength  = document.REPLIER.Post.value.length;
  263.     message  = "";
  264.  
  265.         if (MessageMax !=0) {
  266.             message = "{$ibforums->lang['js_post']}:\\n{$ibforums->lang['js_max_length']} " + MessageMax + " {$ibforums->lang['js_characters']}.";
  267.         } else {
  268.             message = "";
  269.         }
  270.         alert(message + "\\n{$ibforums->lang['js_used']} " + MessageLength + " {$ibforums->lang['js_characters']}.");
  271. }
  272.     
  273.     function ValidateForm(isMsg) {
  274.         MessageLength  = document.REPLIER.Post.value.length;
  275.         errors = "";
  276.         
  277.         if (isMsg == 1)
  278.         {
  279.             if (document.REPLIER.msg_title.value.length < 2)
  280.             {
  281.                 errors = "{$ibforums->lang['msg_no_title']}";
  282.             }
  283.         }
  284.     
  285.         if (MessageLength < 2) {
  286.              errors = "{$ibforums->lang['js_no_message']}";
  287.         }
  288.         if (MessageMax !=0) {
  289.             if (MessageLength > MessageMax) {
  290.                 errors = "{$ibforums->lang['js_max_length']} " + MessageMax + " {$ibforums->lang['js_characters']}. {$ibforums->lang['js_current']}: " + MessageLength;
  291.             }
  292.         }
  293.         if (errors != "" && Override == "") {
  294.             alert(errors);
  295.             return false;
  296.         } else {
  297.             document.REPLIER.submit.disabled = true;
  298.             return true;
  299.         }
  300.     }
  301.     
  302.     
  303.     
  304.     // IBC Code stuff
  305.     var text_enter_url      = "{$ibforums->lang['jscode_text_enter_url']}";
  306.     var text_enter_url_name = "{$ibforums->lang['jscode_text_enter_url_name']}";
  307.     var text_enter_image    = "{$ibforums->lang['jscode_text_enter_image']}";
  308.     var text_enter_email    = "{$ibforums->lang['jscode_text_enter_email']}";
  309.     var text_enter_flash    = "{$ibforums->lang['jscode_text_enter_flash']}";
  310.     var text_code           = "{$ibforums->lang['jscode_text_code']}";
  311.     var text_quote          = "{$ibforums->lang['jscode_text_quote']}";
  312.     var error_no_url        = "{$ibforums->lang['jscode_error_no_url']}";
  313.     var error_no_title      = "{$ibforums->lang['jscode_error_no_title']}";
  314.     var error_no_email      = "{$ibforums->lang['jscode_error_no_email']}";
  315.     var error_no_width      = "{$ibforums->lang['jscode_error_no_width']}";
  316.     var error_no_height     = "{$ibforums->lang['jscode_error_no_height']}";
  317.     //-->
  318. </script>
  319. <script language='Javascript' src='html/ibfcode.js'></script>
  320.  
  321.         <tr> 
  322.           <td id="subtitle" colspan="2">{$ibforums->lang['ib_code_buttons']}</td>
  323.         </tr>
  324.         <tr> 
  325.           <td id='row1'>{$ibforums->lang['ibf_code_txt']}</td>
  326.           <td id='row1' width="100%" valign="top">
  327. <table cellpadding='2' cellspacing='2' width='100%' align='center'>
  328.                         <tr>
  329.                             <td nowrap width='10%'>
  330.                               <input type='button' accesskey='b' value=' B '       onClick='simpletag("B")'       class='codebuttons' title="BOLD: [Control / Alt] + b"      name='bold'   style="font-weight:bold">
  331.                               <input type='button' accesskey='i' value=' I '       onClick='simpletag("I")'       class='codebuttons' title="ITALIC: [Control / Alt] + i"    name='italic' style="font-style:italic">
  332.                               <input type='button' accesskey='u' value=' U '       onClick='simpletag("U")'       class='codebuttons' title="UNDERLINE: [Control / Alt] + u" name='under' style="text-decoration:underline">
  333.                               
  334.                               <select name='ffont' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'FONT')">
  335.                               <option value='0'>{$ibforums->lang['ct_font']}</option>
  336.                               <option value='Arial' style='font-family:Arial'>{$ibforums->lang['ct_arial']}</option>
  337.                               <option value='Times' style='font-family:Times'>{$ibforums->lang['ct_times']}</option>
  338.                               <option value='Courier' style='font-family:Courier'>{$ibforums->lang['ct_courier']}</option>
  339.                               <option value='Impact' style='font-family:Impact'>{$ibforums->lang['ct_impact']}</option>
  340.                               <option value='Geneva' style='font-family:Geneva'>{$ibforums->lang['ct_geneva']}</option>
  341.                               <option value='Optima' style='font-family:Optima'>Optima</option>
  342.                               </select><select name='fsize' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'SIZE')">
  343.                               <option value='0'>{$ibforums->lang['ct_size']}</option>
  344.                               <option value='1'>{$ibforums->lang['ct_sml']}</option>
  345.                               <option value='7'>{$ibforums->lang['ct_lrg']}</option>
  346.                               <option value='14'>{$ibforums->lang['ct_lest']}</option>
  347.                               </select><select name='fcolor' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'COLOR')">
  348.                               <option value='0'>{$ibforums->lang['ct_color']}</option>
  349.                               <option value='blue' style='color:blue'>{$ibforums->lang['ct_blue']}</option>
  350.                               <option value='red' style='color:red'>{$ibforums->lang['ct_red']}</option>
  351.                               <option value='purple' style='color:purple'>{$ibforums->lang['ct_purple']}</option>
  352.                               <option value='orange' style='color:orange'>{$ibforums->lang['ct_orange']}</option>
  353.                               <option value='yellow' style='color:yellow'>{$ibforums->lang['ct_yellow']}</option>
  354.                               <option value='gray' style='color:gray'>{$ibforums->lang['ct_grey']}</option>
  355.                               <option value='green' style='color:green'>{$ibforums->lang['ct_green']}</option>
  356.                               </select>
  357.                             </td>
  358.                             <td align='left'nowrap width='10%'><input type='button' accesskey='c' value=' x '       onClick='closelast()'          class='codebuttons' title="Close Current Tag: [Control / Alt] + c"      name='bold'   style="color:red"> Close Current Tag</td>
  359.                          </tr>
  360.                          <tr>
  361.                             <td align='left'>
  362.                               <input type='button' accesskey='h' value=' http:// ' onClick='tag_url()'            class='codebuttons' title="HYPERLINK: [Control / Alt] + h" style="text-decoration:underline;color:blue">
  363.                               <input type='button' accesskey='g' value=' IMG '     onClick='tag_image()'          class='codebuttons' title="IMG: [Control / Alt] + g"       >
  364.                               <input type='button' accesskey='e' value='  @  '     onClick='tag_email()'          class='codebuttons' title="EMAIL: [Control / Alt] + e"     style="text-decoration:underline;color:blue">
  365.                               <input type='button' accesskey='q' value=' Quote '   onClick='simpletag("QUOTE")'   class='codebuttons' title="QUOTE: [Control / Alt] + q" name='quote'>
  366.                               <input type='button' accesskey='p' value=' Code '    onClick='simpletag("CODE")'    class='codebuttons' title="CODE: [Control / Alt] + p"  name='code'>
  367.                               <input type='button' accesskey='s' value=' SQL '     onClick='simpletag("SQL")'    class='codebuttons' title="SQL: [Control / Alt] + s"   name='code'>
  368.                               <input type='button' accesskey='t' value=' HTML '     onClick='simpletag("HTML")'    class='codebuttons' title="HTML: [Control / Alt] + t"   name='code'>
  369.                             </td>
  370.                             <td align='left'>
  371.                               <input type='button' accesskey='x' value=' X '       onClick='closeall()'          class='codebuttons' title="Close Current Tag: [Control / Alt] + x"      name='bold'   style="color:red;font-weight:bold"> Close All Tags
  372.                             </td>
  373.                         </tr>
  374.                     </table>
  375.           </td>
  376.         </tr>
  377.         <tr> 
  378.           <td id="subtitle" colspan="2">{$ibforums->lang['post']}</td>
  379.         </tr>
  380.         <tr> 
  381.           <td id='row1'>(<a href='javascript:CheckLength()'>{$ibforums->lang['check_length']}</a>)<br><br><!--SMILIE TABLE--><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="180" height="1"></td>
  382.           <td id='row1' width="100%" valign="top"><textarea cols='80' rows='15' wrap='soft' name='Post' tabindex='3' class='textinput'>$data</textarea><table width="100%" border="0" cellspacing="0" cellpadding="0">
  383.               <tr> 
  384.                 <td><input type='checkbox' name='enableemo' value='yes' checked></td>
  385.                 <td width="100%">{$ibforums->lang['enable_emo']}</td>
  386.               </tr>
  387.               <tr> 
  388.                 <td><input type='checkbox' name='enablesig' value='yes' checked></td>
  389.                 <td width="100%">{$ibforums->lang['enable_sig']}</td>
  390.               </tr>
  391.             </table></td>
  392.         </tr>
  393. EOF;
  394. }
  395.  
  396. function nameField_unreg($data) {
  397. global $ibforums;
  398. return <<<EOF
  399.         <tr> 
  400.           <td id="subtitle" colspan="2">{$ibforums->lang['unreg_namestuff']}</td>
  401.         </tr>
  402.         <tr> 
  403.           <td id="row1">{$ibforums->lang['guest_name']}</td>
  404.           <td id="row1" width="100%"><input type='text' size='40' maxlength='40' name='UserName' value='$data' onMouseOver="this.focus()" onFocus="this.select()"></td>
  405.         </tr>
  406. EOF;
  407. }
  408.  
  409. function poll_box($data) {
  410. global $ibforums;
  411. return <<<EOF
  412.         <tr> 
  413.           <td id="subtitle" colspan="2">{$ibforums->lang['tt_poll_settings']}</td>
  414.         </tr>
  415.         <tr> 
  416.           <td id='row1'>{$ibforums->lang['poll_choices']}</td>
  417.           <td id='row1' width="100%" valign="top"><textarea cols='60' rows='12' wrap='soft' name='PollAnswers' class='textinput'>$data</textarea>
  418.             <table width="100%" border="0" cellspacing="0" cellpadding="0">
  419.               <tr> 
  420.                 <td><input type='checkbox' size='40' value='1' name='allow_disc' class='forminput'></td>
  421.                 <td width="100%">{$ibforums->lang['poll_only']}</td>
  422.               </tr>
  423.             </table></td>
  424.         </tr>
  425. EOF;
  426. }
  427.  
  428.  
  429. }
  430. ?>